package advanced.design_mode.adaptermode;

/**
 * 调用被适配对象的, 需求方法
 */
public class AdvancedUsbAdapter implements Adapter {
    private Keyboard target;

    @Override
    public void handRequest() {
        target.handRequest();
    }

    public AdvancedUsbAdapter(Keyboard target) {
        this.target = target;
    }
}
